package com.ruoyi.cbs.project.service;

import java.util.List;
import com.ruoyi.cbs.project.domain.ProjectStop;
import com.ruoyi.cbs.project.domain.vo.StartStopProjectProcessReqVO;
import com.ruoyi.common.core.domain.model.LoginUser;

/**
 * 项目停工申请Service接口
 * 
 * @author ruoyi
 * @date 2025-11-21
 */
public interface IProjectStopService 
{
    /**
     * 查询项目停工申请
     * 
     * @param id 项目停工申请主键
     * @return 项目停工申请
     */
    public ProjectStop selectProjectStopById(Long id);

    /**
     * 查询项目停工申请列表
     * 
     * @param projectStop 项目停工申请
     * @return 项目停工申请集合
     */
    public List<ProjectStop> selectProjectStopList(ProjectStop projectStop);

    /**
     * 新增项目停工申请
     * 
     * @param projectStop 项目停工申请
     * @return 结果
     */
    public int insertProjectStop(ProjectStop projectStop);

    /**
     * 修改项目停工申请
     * 
     * @param projectStop 项目停工申请
     * @return 结果
     */
    public int updateProjectStop(ProjectStop projectStop);

    /**
     * 批量删除项目停工申请
     * 
     * @param ids 需要删除的项目停工申请主键集合
     * @return 结果
     */
    public int deleteProjectStopByIds(Long[] ids);

    /**
     * 删除项目停工申请信息
     * 
     * @param id 项目停工申请主键
     * @return 结果
     */
    public int deleteProjectStopById(Long id);

    /**
     * 发起停工申请
     * @param user
     * @return
     */
    public int startStopProjectProcess(LoginUser user, StartStopProjectProcessReqVO startStopProjectProcessReqVO);
}
